package com.ruoyi.report_jl.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import com.ruoyi.report_jl.domain.ReportJlCjlbgBaDetail;
import com.ruoyi.report_tg.domain.bo.ExcelGeneralBo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 粗集料压碎值记录国标业务对象 report_jl_cjlyszgbjlb_bs_info
 *
 * @author tll
 * @date 2024-05-23
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ReportJlCjlyszgbjlbBsInfoBo extends ExcelGeneralBo {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long excelId;

    /**
     * 共几页
     */
    @NotNull(message = "共几页不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long totalPage;

    /**
     * 第几页
     */
    @NotNull(message = "第几页不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long page;

    /**
     * 记录编号
     */
    @NotBlank(message = "记录编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jilbh;

    /**
     * 检测单位名称
     */
    @NotBlank(message = "检测单位名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jiancdwmc;

    /**
     * 工程部位/用途
     */
    @NotBlank(message = "工程部位/用途不能为空", groups = { AddGroup.class, EditGroup.class })
    private String gongcbwyt;

    /**
     * 样品名称
     */
    @NotBlank(message = "样品名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpmc;

    /**
     * 样品编号
     */
    @NotBlank(message = "样品编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpbh;

    /**
     * 样品数量
     */
    @NotBlank(message = "样品数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpsl;

    /**
     * 样品状态
     */
    @NotBlank(message = "样品状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpzt;

    /**
     * 样品时间
     */
    @NotNull(message = "样品时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpsj;

    /**
     * 试验检测日期
     */
    @NotBlank(message = "试验检测日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shiyjcrq;

    /**
     * 试验条件温度
     */
    @NotBlank(message = "试验条件温度不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shiytjwd;

    /**
     * 试验条件湿度
     */
    @NotBlank(message = "试验条件湿度不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shiytjsd;

    /**
     * 检测依据
     */
    @NotBlank(message = "检测依据不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jiancyj;

    /**
     * 判定依据
     */
    @NotBlank(message = "判定依据不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pandyj;

    /**
     * 主要仪器设备名称及编号
     */
    @NotBlank(message = "主要仪器设备名称及编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String zhuyyqsbmcjbh;

    /**
     * 附加声明
     */
    @NotBlank(message = "附加声明不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fujsm;

    /**
     * 报表名称
     */
    @NotBlank(message = "报表名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String baobmc;

    /**
     * 报表编号
     */
    @NotBlank(message = "报表编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String baobbh;

    /**
     * 工程名称
     */
    @NotBlank(message = "工程名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String gongcmc;

    /**
     * 检测人
     */
    @NotBlank(message = "检测人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jiancr;

    /**
     * 记录人
     */
    @NotBlank(message = "记录人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jilr;

    /**
     * 复核人
     */
    @NotBlank(message = "复核人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fuhr;

    /**
     * 日期
     */
    @NotNull(message = "日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date riq;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * 取样地点
     */
    @NotBlank(message = "取样地点不能为空", groups = { AddGroup.class, EditGroup.class })
    private String quydd;

    /**
     * 进场日期
     */
    @NotNull(message = "进场日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jincrq;

    /**
     * 代表数量
     */
    @NotNull(message = "代表数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private String daibsl;

    /**
     * 产地
     */
    @NotBlank(message = "产地不能为空", groups = { AddGroup.class, EditGroup.class })
    private String chand;

    /**
     * 试验次数1
     */
    @NotBlank(message = "试验次数1不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sycsItem1;

    /**
     * 试样质量mg1（g）行1
     */
    @NotNull(message = "试样质量mg1（g）行1不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal shiyzlItem1;

    /**
     * 压碎试验后筛余试样质量mg2（g）行1
     */
    @NotNull(message = "压碎试验后筛余试样质量mg2（g）行1不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal yassyhsysyzlItem1;

    /**
     * 压碎指标Q（%）行1
     */
    @NotNull(message = "压碎指标Q（%）行1不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal yaszbItem1;

    /**
     * 试验次数2
     */
    @NotBlank(message = "试验次数2不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sycsItem2;

    /**
     * 试样质量mg1（g）行2
     */
    @NotNull(message = "试样质量mg1（g）行2不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal shiyzlItem2;

    /**
     * 压碎试验后筛余试样质量mg2（g）行2
     */
    @NotNull(message = "压碎试验后筛余试样质量mg2（g）行2不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal yassyhsysyzlItem2;

    /**
     * 压碎指标Q（%）行2
     */
    @NotNull(message = "压碎指标Q（%）行2不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal yaszbItem2;

    /**
     * 试验次数3
     */
    @NotBlank(message = "试验次数3不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sycsItem3;

    /**
     * 试样质量mg1（g）行3
     */
    @NotNull(message = "试样质量mg1（g）行3不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal shiyzlItem3;

    /**
     * 压碎试验后筛余试样质量mg2（g）行3
     */
    @NotNull(message = "压碎试验后筛余试样质量mg2（g）行3不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal yassyhsysyzlItem3;

    /**
     * 压碎指标Q（%）行3
     */
    @NotNull(message = "压碎指标Q（%）行3不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal yaszbItem3;

    /**
     * 平均压碎指标（%）
     */
    @NotNull(message = "平均压碎指标（%）不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal yaszbPjz;

    @NotNull(message = "子表", groups = { AddGroup.class, EditGroup.class })
    private List<Object> detailList;

    @NotNull(message = "报表编号集", groups = { AddGroup.class, EditGroup.class })
    private List<String> baobbhList;

    /**
     * 试样与秤盘质量
     */
    private BigDecimal shiyycpzl;
    /**
     * 装满金属筒后剩余试样与秤盘质量
     */
    private BigDecimal zhuangmjsthsysyycpzl;
    /**
     * 金属筒盛样质量
     */
    private BigDecimal jinstcyzl;

}
